<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/react.development.js"></script>
    <script src="lib/react-dom.development.js"></script>
</head>
<body>
<div id="root"></div>
</body>
<script>
    const root = ReactDOM.createRoot(document.querySelector("#root"));
    const p1 = React.createElement("p",{
    	key:"one",
    },1);
    const p2 = React.createElement("p",{
    	key:"two",
    	style:{
    		color:"red"
        }
    },2);
    console.log(p1,p2)
    // const div = React.createElement("div",null,p1,p2);
    const div = React.createElement("div",null,[p1,p2]);
    root.render(div);
</script>
</html>